package com.xbongbong.pro.workreportset.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;

/**
 * @author youli.chen
 * @ProjectName xbb-pro
 * @Description: TODO
 * @date 2019/1/17 10:31
 */
@Setter
@Getter
@ToString
public class WorkReportSetDetailDTO extends BaseDTO {

    /**
     * 工作报告类型：1日报，2周报，3月报
     */
    @NotNull(message = "{dto.msg.workReportSetDetail.workReportType.NotNull}")
    @Range(min = 1, max = 3, message = "{dto.msg.workReportSetDetail.workReportType.Range}")
    private Integer workReportType;
}
